#!/bin/bash
# Envoy 简易配置样例
docker stop envoy-simple
docker run --rm  -v `pwd`:/app --name envoy-simple -d -p 10001:10000 -p9901:9901 envoyproxy/envoy:v1.13.0 envoy -c /app/simple.yaml
sleep 2
curl 127.0.0.1:10001

# 调试容器：
# docker run --rm  -v /opt/envoy:/app --ti envoyproxy/envoy:v1.13.0  /bin/bash
# envoy -c /app/simple.yaml